Component({
  pageLifetimes: {
    show() {
      if (typeof this.getTabBar === 'function' &&
        this.getTabBar()) {
        this.getTabBar().setData({
          selected: 0
        })
      }
    }
  },
  data: {
    bnrUrl: [
      {'url': '../../images/banner/1.jpg'},
      {'url': '../../images/banner/2.jpg'},
      {'url': '../../images/banner/3.jpg'},
    ],
    backColors: [
      '#83F2C7',
      '#FF9E76',
      '#4EC3F5',
      '#FF7C80'
    ]
  }
})